<!DOCTYPE html>
<html>
<head>
	<meta charset="utf-8">
	<meta name="viewport" content="width=device-width, initial-scale=1">
	<title></title>
</head>
<body>
	<img src="C:\Users\one\Desktop\其他\biz\100526387_p0.jpg">
	<script type="text/javascript" src="../jquery-3.2.1.js"></script>
	<script type="text/javascript">
		$('img').attr('title','人车合一')
		//设置多个属性
		$('img').attr({
			title: "人车合二",
			width: "500px"
		})
		//获取
		console.log($('img').attr('title'))
	</script>
</body>
</html>